package rsj.sql.test;

import com.rlyy.aibase.utils.base.Node;
import com.rlyy.aibase.utils.base.TableNode;
import rsj.api.product.entity.TestQueryParam;
import rsj.annotation.DynamicSelect;
import rsj.service.test.SupplierTest;

/**
 * 我司线下测试查询-dao
 *
 * @author yuanqinglong
 * @since 2021/5/25 17:38
 */
public interface SupplierTestDao {


    /**
     * 查询表的页面
     *
     * @param testQueryParam 测试查询参数
     * @return {@link TableNode}
     */
    @DynamicSelect(type = SupplierTest.class, method = "generateQueryStatement")
    TableNode queryTableByPage(TestQueryParam testQueryParam);


    /**
     * 数统计
     *
     * @param testQueryParam 测试查询参数
     * @return {@link Node}
     */
    @DynamicSelect(type = SupplierTest.class, method = "generateCountStatement")
    Node countStatistic(TestQueryParam testQueryParam);
}
